3.1.65 \(\int \frac {x}{b x^2+c x^4} \, dx\)

Optimal. Leaf size=22 \[ \frac {\log (x)}{b}-\frac {\log \left (b+c x^2\right )}{2 b} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {1584, 266, 36, 29, 31} \begin {gather*} \frac {\log (x)}{b}-\frac {\log \left (b+c x^2\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/(b*x^2 + c*x^4),x]

[Out]

Log[x]/b - Log[b + c*x^2]/(2*b)

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
 p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {x}{b x^2+c x^4} \, dx &=\int \frac {1}{x \left (b+c x^2\right )} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{x (b+c x)} \, dx,x,x^2\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,x^2\right )}{2 b}-\frac {c \operatorname {Subst}\left (\int \frac {1}{b+c x} \, dx,x,x^2\right )}{2 b}\\ &=\frac {\log (x)}{b}-\frac {\log \left (b+c x^2\right )}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} \frac {\log (x)}{b}-\frac {\log \left (b+c x^2\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/(b*x^2 + c*x^4),x]

[Out]

Log[x]/b - Log[b + c*x^2]/(2*b)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{b x^2+c x^4} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x/(b*x^2 + c*x^4),x]

[Out]

IntegrateAlgebraic[x/(b*x^2 + c*x^4), x]

________________________________________________________________________________________

fricas [A]  time = 0.62, size = 18, normalized size = 0.82 \begin {gather*} -\frac {\log \left (c x^{2} + b\right ) - 2 \, \log \relax (x)}{2 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x^4+b*x^2),x, algorithm="fricas")

[Out]

-1/2*(log(c*x^2 + b) - 2*log(x))/b

________________________________________________________________________________________

giac [A]  time = 0.17, size = 22, normalized size = 1.00 \begin {gather*} -\frac {\log \left ({\left | c x^{2} + b \right |}\right )}{2 \, b} + \frac {\log \left ({\left | x \right |}\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x^4+b*x^2),x, algorithm="giac")

[Out]

-1/2*log(abs(c*x^2 + b))/b + log(abs(x))/b

________________________________________________________________________________________

maple [A]  time = 0.00, size = 21, normalized size = 0.95 \begin {gather*} \frac {\ln \relax (x )}{b}-\frac {\ln \left (c \,x^{2}+b \right )}{2 b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(c*x^4+b*x^2),x)

[Out]

ln(x)/b-1/2*ln(c*x^2+b)/b

________________________________________________________________________________________

maxima [A]  time = 1.36, size = 23, normalized size = 1.05 \begin {gather*} -\frac {\log \left (c x^{2} + b\right )}{2 \, b} + \frac {\log \left (x^{2}\right )}{2 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x^4+b*x^2),x, algorithm="maxima")

[Out]

-1/2*log(c*x^2 + b)/b + 1/2*log(x^2)/b

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 18, normalized size = 0.82 \begin {gather*} -\frac {\ln \left (c\,x^2+b\right )-2\,\ln \relax (x)}{2\,b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(b*x^2 + c*x^4),x)

[Out]

-(log(b + c*x^2) - 2*log(x))/(2*b)

________________________________________________________________________________________

sympy [A]  time = 0.23, size = 15, normalized size = 0.68 \begin {gather*} \frac {\log {\relax (x )}}{b} - \frac {\log {\left (\frac {b}{c} + x^{2} \right )}}{2 b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x**4+b*x**2),x)

[Out]

log(x)/b - log(b/c + x**2)/(2*b)

________________________________________________________________________________________